const { Http } = require("./util.js");
class HttpModule extends Http {
  constructor() {
    super()
  }
  getUserStatus () {
    return this.get({
      url: '/getUserStatus'
    })
  }
  getfromData () {
    return this.get({
      url: '/getfromData'
    })
  }
  userZhuce (value) {
    return this.post({
      url: '/userZhuce',
      data: {
        value
      }
    }, true)
  }
  daka (data) {
    return this.post({
      url: '/daka',
      data: data
    })
  }
  daka2 (data) {
    return this.post({
      url: '/daka2',
      data: data
    })
  }
  getList (pages) {
    return this.post({
      url: '/getList',
      data: {
        pages
      }
    })
  }
  statisticsSign (data) {
    return this.get2({
      url: '/sign/statisticsSign',
      data
    })
  }
  signManage (data) {
    return this.get2({
      url: '/sign/signManage',
      data
    })
  }
  statisticsSignByUser (data) {
    return this.get2({
      url: '/sign/statisticsSignByUser',
      data
    })
  }
  signInfoByUser (data) {
    return this.get2({
      url: '/sign/signInfoByUser',
      data
    })
  }
  getSuccessAppuser () {
    return this.get2({
      url: '/appuser/getSuccessAppuser',
    })
  }
  getSuccessAudit () {
    return this.get2({
      url: '/appuser/getUnderUser',
    })
  }
  getSuccessIsAudit (data) {
    return this.get2({
      url: '/appuser/updateUnderUser',
      data
    })
  }
  setUserState (data) {
    return this.get2({
      url: '/sign/insertSign',
      data
    })
  }
}
module.exports = HttpModule